-
Home
-
Tutor LMS – eLearning and online course solution
-
3.0.2
-
Code
-
Classes
- Paypal
Total Complexity |
121 |
Dependencies |
12 |
Dependents |
0 |
Total lines |
1,108 |
Lines of code |
595 |
Logical lines of code |
282 |
Comment lines |
278 |
Methods |
37 |
Properties |
6 |
Methods 37
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
verifyAndCreateOrderData() |
A |
47 |
12 |
33 |
prepareData() |
A |
49 |
8 |
30 |
handleErrorResponse() |
S |
55 |
7 |
20 |
processIssues() |
S |
56 |
6 |
19 |
getPaymentSourceForRecurring() |
S |
48 |
5 |
33 |
getItems() |
S |
49 |
5 |
32 |
setReturnData() |
S |
49 |
5 |
28 |
createWebhook() |
S |
53 |
5 |
20 |
createNewWebhook() |
S |
51 |
4 |
25 |
createRefundPayment() |
S |
48 |
3 |
34 |
getAccessToken() |
S |
55 |
4 |
18 |
checkWebhookVariables() |
S |
68 |
5 |
7 |
createPayment() |
S |
59 |
4 |
14 |
verifySignature() |
S |
51 |
3 |
24 |
createRecurringPayment() |
S |
52 |
3 |
24 |
processRefund() |
S |
52 |
3 |
23 |
createAmountData() |
S |
55 |
3 |
21 |
capturePayment() |
S |
54 |
3 |
19 |
setData() |
S |
62 |
3 |
12 |
prepareDataForRefund() |
S |
57 |
2 |
16 |
getPaymentSourceForOneTime() |
S |
58 |
2 |
16 |
checkQueryParams() |
S |
78 |
3 |
3 |
getVaultDetails() |
S |
59 |
2 |
14 |
isOrderApproved() |
S |
79 |
2 |
3 |
isTotalAmountZero() |
S |
65 |
2 |
8 |
getShippingInfo() |
S |
59 |
1 |
15 |
check() |
S |
67 |
2 |
7 |
sendHttpRequest() |
S |
65 |
2 |
9 |
isOrderCompleted() |
S |
79 |
2 |
3 |
getUrl() |
S |
70 |
2 |
6 |
processApprovedOrder() |
S |
69 |
2 |
6 |
createOrder() |
S |
61 |
1 |
12 |
updateWebhookUrl() |
S |
65 |
1 |
9 |
getRefundStatus() |
S |
63 |
1 |
10 |
verifyPaymentAuthentication() |
S |
63 |
1 |
10 |
setup() |
S |
71 |
1 |
6 |
createAmountForRecurring() |
S |
71 |
1 |
6 |